package com.dong.design.memento;

/**
 * Memento 包含了要被恢复的对象的状态
 *
 * @author jianyang206881
 * @date 2018/6/27
 */
public class Memento {
    private String state;

    public Memento(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }
}
